﻿using Microsoft.Xna.Framework.Graphics;

namespace XNAGuiLib.Core.Graphics
{
    public class Texture2DLoader
    {


        public static Texture2D LoadT2D(GraphicsDevice g, string file)
        {
            return Texture2D.FromFile(g, file);
        }

        public static Texture2D LoadThemeT2D(GraphicsDevice g, string theme, string asset, string extension)
        {
            return Texture2DLoader.LoadT2D(g, "Content\\Core\\Themes\\" + theme + "\\" + asset + "." + extension);
        }


    }
}
